Optimal. Leaf size=58 \[ -\frac{b c n x^{n+1} \text{Hypergeometric2F1}\left (1,\frac{n+1}{2 n},\frac{1}{2} \left (\frac{1}{n}+3\right ),c^2 x^{2 n}\right )}{n+1}+a x+b x \tanh ^{-1}\left (c x^n\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0279346, antiderivative size = 58, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {6091, 364} \[ a x-\frac{b c n x^{n+1} \, _2F_1\left (1,\frac{n+1}{2 n};\frac{1}{2} \left (3+\frac{1}{n}\right );c^2 x^{2 n}\right )}{n+1}+b x \tanh ^{-1}\left (c x^n\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6091
Rule 364
Rubi steps
\begin{align*} \int \left (a+b \tanh ^{-1}\left (c x^n\right )\right ) \, dx &=a x+b \int \tanh ^{-1}\left (c x^n\right ) \, dx\\ &=a x+b x \tanh ^{-1}\left (c x^n\right )-(b c n) \int \frac{x^n}{1-c^2 x^{2 n}} \, dx\\ &=a x+b x \tanh ^{-1}\left (c x^n\right )-\frac{b c n x^{1+n} \, _2F_1\left (1,\frac{1+n}{2 n};\frac{1}{2} \left (3+\frac{1}{n}\right );c^2 x^{2 n}\right )}{1+n}\\ \end{align*}
Mathematica [A] time = 0.0316411, size = 58, normalized size = 1. \[ -\frac{b c n x^{n+1} \text{Hypergeometric2F1}\left (1,\frac{n+1}{2 n},\frac{1}{2} \left (\frac{1}{n}+3\right ),c^2 x^{2 n}\right )}{n+1}+a x+b x \tanh ^{-1}\left (c x^n\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.191, size = 0, normalized size = 0. \begin{align*} \int a+b{\it Artanh} \left ( c{x}^{n} \right ) \, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{1}{2} \,{\left (n \int \frac{1}{c x^{n} + 1}\,{d x} + n \int \frac{1}{c x^{n} - 1}\,{d x} + x \log \left (c x^{n} + 1\right ) - x \log \left (-c x^{n} + 1\right )\right )} b + a x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (b \operatorname{artanh}\left (c x^{n}\right ) + a, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (a + b \operatorname{atanh}{\left (c x^{n} \right )}\right )\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int b \operatorname{artanh}\left (c x^{n}\right ) + a\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]